﻿/*----------------------------------------------------------------
//  <copyright file="ProfileDto.cs" company="MicroCloud@151504200868">
//      Copyright © 2020-2024 MicroCloud Corporation, All rights reserved.
//  </copyright>
//  <site>https://gitee.com/chenmm123/microclouds</site>
//  <last-editor>cmm</last-editor>
//  <last-date>2023-12-12 11:43</last-date>
//----------------------------------------------------------------*/

namespace MicroCloud.Identity.Dtos
{
    #region "用户资料DTO"
    /// <summary>
    /// 用户资料DTO
    /// </summary>
    public class ProfileDto
    {
        #region "属性"
        #region "获取或设置 主键"
        /// <summary>
        /// 获取或设置 主键
        /// </summary>
        public string Key { get; set; }
        #endregion

        #region "获取或设置 用户编号"
        /// <summary>
        /// 获取或设置 用户编号
        /// </summary>
        public string UserId { get; set; }
        #endregion
        #region "获取或设置 用户名"
        /// <summary>
        /// 获取或设置 用户名
        /// </summary>
        public string UserName { get; set; }
        #endregion
        #region "获取或设置 用户昵称"
        /// <summary>
        /// 获取或设置 用户昵称
        /// </summary>
        public string NickName { get; set; }
        #endregion
        #region "获取或设置 电子邮箱"
        /// <summary>
        /// 获取或设置 电子邮箱
        /// </summary>
        public string Email { get; set; }
        #endregion
        #region "获取或设置 手机号码"
        /// <summary>
        /// 获取或设置 手机号码
        /// </summary>
        public string PhoneNumber { get; set; }
        #endregion

        #region "获取或设置 电子头像"
        /// <summary>
        /// 获取或设置 电子头像
        /// </summary>
        public string Avatar { get; set; }
        #endregion
        #region "获取或设置 电子签名"
        /// <summary>
        /// 获取或设置 电子签名
        /// </summary>
        public string Signature { get; set; }
        #endregion

        #region "获取或设置 性别"
        /// <summary>
        /// 获取或设置 性别
        /// </summary>
        public Gender Gender { get; set; }
        #endregion
        #region "获取或设置 生日"
        /// <summary>
        /// 获取或设置 生日
        /// </summary>
        public DateTime? Birthday { get; set; }
        #endregion
        #region "获取或设置 血型"
        /// <summary>
        /// 获取或设置 血型
        /// </summary>
        public string BloodType { get; set; }
        #endregion
        #region "获取或设置 标签"
        /// <summary>
        /// 获取或设置 标签
        /// </summary>
        public ICollection<string> Tag { get; set; }
        #endregion
        #region "获取或设置 头衔"
        /// <summary>
        /// 获取或设置 头衔
        /// </summary>
        public ICollection<string> Title { get; set; }
        #endregion
        #region "获取或设置 地址"
        /// <summary>
        /// 获取或设置 地址
        /// </summary>
        public string Address { get; set; }
        #endregion
        #region "获取或设置 简介"
        /// <summary>
        /// 获取或设置 简介
        /// </summary>
        public string Profile { get; set; }
        #endregion
        #region "获取或设置 个性签名"
        /// <summary>
        /// 获取或设置 个性签名
        /// </summary>
        public string Sign { get; set; }
        #endregion
        #region "获取或设置 备注"
        /// <summary>
        /// 获取或设置 备注
        /// </summary>
        public string Remark { get; set; }
        #endregion

        #region "获取或设置 主页"
        /// <summary>
        /// 获取或设置 主页
        /// </summary>
        [DisplayName("主页")]
        public string HomePath { get; set; }
        #endregion

        #region "获取或设置 农历生日"
        /// <summary>
        /// 获取或设置 农历生日
        /// </summary>
        public DateTime? ChineseBirthday { get; set; }
        #endregion
        #region "获取或设置 年龄"
        /// <summary>
        /// 获取或设置 年龄
        /// </summary>
        public int Age { get; set; }
        #endregion
        #region "获取或设置 生肖"
        /// <summary>
        /// 获取或设置 生肖
        /// </summary>
        public ChineseZodiacSign? ZodiacSign { get; set; }
        #endregion
        #region "获取或设置 星座"
        /// <summary>
        /// 获取或设置 星座
        /// </summary>
        public StarSign? StarSign { get; set; }
        #endregion

        #region "获取或设置 是否管理员"
        /// <summary>
        /// 获取或设置 是否管理员
        /// </summary>
        public bool IsAdmin { get; set; }
        #endregion

        #region "获取或设置 下次请求是否刷新AccessToken"
        /// <summary>
        /// 获取或设置 下次请求是否刷新AccessToken
        /// </summary>
        public bool IsRefreshNext { get; set; }
        #endregion

        #region "获取或设置 用户角色"
        /// <summary>
        /// 获取或设置 用户角色
        /// </summary>
        public OnlineRole[] Roles { get; set; } = Array.Empty<OnlineRole>();
        #endregion

        #region "获取或设置 当前组织机构"
        /// <summary>
        /// 获取或设置 当前组织机构
        /// </summary>
        public OrganizationIdentity CurrentOrganization { get; set; }
        #endregion
        #region "获取或设置 当前部门机构"
        /// <summary>
        /// 获取或设置 当前部门机构
        /// </summary>
        public OrganizationIdentity CurrentDepartment { get; set; }
        #endregion

        #region "获取 扩展数据字典"
        /// <summary>
        /// 获取 扩展数据字典
        /// </summary>
        public IDictionary<string, string> ExtendData { get; set; } = new Dictionary<string, string>();
        #endregion

        #endregion

    }
    #endregion

}
